import React, { Component } from 'react';
import axios from 'axios'

class Home extends Component {
 
  componentDidMount () {
    //数据请求
    axios({
      url:'/api-search/product/home/mobile',
      params:{
        token:''
      }
    }).then(res => console.log('res',res))
      .catch(err => console.log(err))
  }

  render() { 
    return ( 
      <div> home </div>
     );
  }
}
 
export default Home;